/*
 * Created by SharpDevelop.
 * User: Robert Waters
 * Date: 7/13/2006
 * Time: 9:40 AM
 */
using System;
using System.Collections.Generic;
using cs2335.cvslab.person;
using cs2335.cvslab.package1;
using cs2335.cvslab.package2;
using cs2335.cvslablib;

namespace cs2335.cvslab                     
{
	/// <summary>
	/// The main driver class.
	/// </summary>
	public class LabMain
	{
	    private CvsLab11 lab11;
	    private CvsLab12 lab12;
	    private CvsLab21 lab21;
	    private CvsLab22 lab22;
		private CvsLabLib myDll;
		
		public LabMain()
		{
		  lab11 = new CvsLab11();
		  lab12 = new CvsLab12();
		  lab21 = new CvsLab21();
		  lab22 = new CvsLab22();
		  myDll = new CvsLabLib();
		}
		
		public void printOutMessage()
		{
		   string toPrint = lab11.GetMessage() + lab12.GetMessage() +
			    lab21.GetMessage() + lab22.GetMessage() + myDll.GetMessage();
			//Person 1 replace P1 with your name and ggg999z with your id
			Person p1 = new Person1("Chris Bolen");
			toPrint += p1.Name + " " + p1.Process("gtg477y");
		    //Person 2 replace P2 with your name and ggg999z with your id
			Person p2 = new Person2("Joseph Monaco");
			toPrint += p2.Name + " " + p2.Process("gth806k");
		    //Person 3 replace P3 with your name and ggg999z with your id
			Person p3 = new Person3("Keiichi Shimamura");
			toPrint += p3.Name + " " + p3.Process("gth797h");
			
			System.Console.WriteLine(toPrint);
		}
		
		public static void Main() {
			LabMain lab = new LabMain();
		    lab.printOutMessage();
		}
			
	}
}
